<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../layout/base_resource.jsp"%>
<script type="text/javascript" src="${basePath}assets/js/iframe.js"></script>
<script type="text/javascript"
	src="${basePath}assets/js/scan/third_scan_query_page.js"></script>
<div class="loc">
	<h3>第三方扫描检索</h3>
	<ul class="loc_loc">
		<li>当前位置：首页扫描> 第三方扫描检索</li>
	</ul>
</div>

<div id="query_div" class="list_con_table">

	<div class="search_table">
		<input type="hidden" id="basePath" value="${basePath }" />
		<form id="queryForm" style="width: 100%;">
			<input type="hidden" name="currentPage" value="1" />
			<ul>

				<li class="Label_1">文件夹名称：&nbsp;</li>
				<li class="Label_2"><input class="input_box" type="text"
					name="folderName" /></li>

				<li class="Label_1">上传日期：&nbsp;</li>
				<li class="Label_2"><input class="input_box"
					name="uploadStartDate" autocomplete="off" type="text"
					style="width:46%" onFocus="WdatePicker()" />-<input
					class="input_box" type="text" style="width:46%"
					name="uploadEndDate" autocomplete="off" onFocus="WdatePicker()" />
				</li>
				<li class="Label_1">病案关联：&nbsp;</li>
			    <li class="Label_2">
			    	<input type="radio" name="isRelevance" value="1"/>&nbsp;已关联&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			    	<input type="radio" name="isRelevance" value="0"/>&nbsp;未关联
			    </li>
				<li class="Label_5"><a id="queryBtn" onclick="queryBtnClick()">查询</a>
				</li>
			</ul>
		</form>
	</div>
	<table style="width:100%; float:left; border-collapse:collapse;"
		id="query_show_table">
		<thead>
			<tr>
				<td class="tdLabel_4">文件夹名称</td>
				<td class="tdLabel_4">上传日期</td>
				<td class="tdLabel_4">上传者</td>
				<td class="tdLabel_4">上传文件数</td>
				<td class="tdLabel_4">是否关联</td>
				<td class="tdLabel_4">操作</td>
			</tr>
		</thead>
		<tbody>
			<tr hidden="hidden" id="template_tr">
				<td class="tdLabel_5"><span class="folder_name"></span></td>
				<td class="tdLabel_5"><span class="upload_date"></span></td>
				<td class="tdLabel_5"><span class="user_name"></span></td>
				<td class="tdLabel_5"><span class="file_count"></span></td>
				<td class="tdLabel_5"><span class="is_locked"></span></td>
				<td class="tdLabel_5" data-type="operate">
				<!-- <a class="operate_pigeonhole" onclick="medicalRecordRelevance(this)"
					title="病案关联">病案关联&nbsp;</a> --></td>
			</tr>

		</tbody>
	</table>
	<div id="pageList" class="pageList">
		<ul class="pagination clearfix" id="page_plus"></ul>
		<div class="pagination">
			<div>
				总共：<b id="totalPage">0</b> 条信息 当前页是第 <b id="currentPage">0/0</b> 页
			</div>
		</div>
	</div>
</div>

<div hidden="hidden">
	<div id="layer_create_record">
		<form>
			<input type="hidden" name="uploadScanId" />
			<div class="search_table" style="width: 300px;">
			 <ul>

			    <li class="Label_1" style="width: 30%">住院号：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input class="input_box" type="text" name="onlyId"/>
			    </li>
			    <li class="Label_1" style="width: 30%">姓　　名：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input name='patientName' class="input_box" type="text">
			    </li>
			    <li class="Label_1" style="width: 30%">身份证号：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input name='idNumber' class="input_box" type="text">
			    </li>
			     <li class="Label_1" style="width: 30%">病 案 号：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input  name='mrId' class="input_box" type="text" readonly="readonly">
			    </li>
			    <li class="Label_1" style="width: 30%">住院次数：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input  name='visitNumber' class="input_box" type="text" readonly="readonly">
			    </li>
			    <li class="Label_1" style="width: 30%">出院科室：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<select name="outDeptCode" class="input_box">
	    		</select>
	    		<input name='outDeptName' type="hidden">
			    </li>
			    <li class="Label_1" style="width: 30%">出院日期：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input name='outHospitalDateTime' class="input_box" type="text" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
			    </li>
			    <li class="Label_1" style="width: 30%">离院方式：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<select name="outHospitalTypeCode" class="input_box">
		    		</select>
		    		<input name='outHospitalTypeName' type="hidden">
			    </li>
			   	<li class="Label_5">
			     	<a onclick="clickAddFormSubmitBtn()">确认</a>
			    </li>
		    </ul>
		    </div>
		</form>
	</div>
</div>

